home *** CD-ROM | disk | FTP | other *** search
/ Online Today 2002 April / OTODAY042002.ISO / pc / progwin / lighths.swf / scripts / DefineButton2_813 / BUTTONCONDACTION on(release, releaseOutside, dragOut).as < prev   
Encoding:
Text File  |  2001-08-13  |  190 b   |  6 lines

  1. on(release, releaseOutside, dragOut){
  2.    x = eval("_root:klappe")._currentframe;
  3.    x = 60 - int((eval("_root:klappe")._currentframe - 10) / 30 * 10);
  4.    _root.klappe.gotoAndPlay(x);
  5. }
  6.